package com.zxjbyte.yiyi.module.system.api.dict;

import com.zxjbyte.yiyi.module.system.enums.DictCodeEnum;
import com.zxjbyte.yiyi.module.system.util.cache.DictCacheUtil;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author zhangxingjia
 * @Date 2024/12/31 17:00
 * @Version: 1.0
 */
@Service
public class DictCacheApiImpl implements DictCacheApi{

    @Override
    public List<Integer> getDictItemValueAsInt(DictCodeEnum codeEnum) {
        return DictCacheUtil.getDictItemValueAsInt(codeEnum);
    }
}
